
from FlagEmbedding import FlagAutoModel

model = FlagAutoModel.from_finetuned('/gemini/pretrain/bge-large-zh-v1.5',
                                    query_instruction_for_retrieval="Represent this sentence for searching relevant passages:",
                                    use_fp16=True)
print(model)